package com.woniuxy.common;

import lombok.Getter;

@Getter
public enum ResultCode implements IerrorCode{
    SUCCESS(200,"ok"),
    FAIL(500,"服务器内部错误"),
    FILE_UPLOAD_FARL(10001,"文件上传失败");

    private int code;

    private String message;

    ResultCode(int code, String message) {
        this.code = code;
        this.message = message;
    }
}
